class FSK{
    GetAnn(HTMLId){
        var a="";
        $.get("https://testapi.flystudiokey.xyz/announcement?mode=get",function(data){
            var i;
            for (i in data.ann){
                a = a + "<div class=\"ann\"><h1 class=\"anntitle\">" + data.ann[i].title + "</h1>" + "<p class=\"anntext\">" + data.ann[i].massage + "</p></div>"
            }
            document.getElementById(HTMLId).innerHTML = a
        });
    }
}
let F = new FSK()